import QtQuick
import QtQuick.Controls

Window {
    width: 640
    height: 480
    visible: true
    title: qsTr("Hello World")

    Item{
        anchors.fill: parent

        Row{
            anchors.centerIn: parent
            spacing: 30

            CircularIndicatorV2{
                running: btn.checked
            }
        }

        Button{
            id: btn
            anchors.horizontalCenter: parent.horizontalCenter
            anchors.bottom: parent.bottom
            anchors.bottomMargin: 50
            checkable: true
            text: checked ? "停止" : "开始"
        }
    }
}
